import { ERP_COLLECTION_DATA_ANALYSIS, ERP_COLLECTION_DATA_ANALYSIS_DIRECTIONQRUE, ERP_COLLECTION_DATA_ANALYSIS_UPDATEPRICE, ERP_COLLECTION_DATA_ANALYSIS_SUQIANWEIMIN_STOCK, ERP_COLLECTION_DATA_ANALYSIS_SUQIANWEIMIN_YIRIJIE, ERP_COLLECTION_DATA_ANALYSIS_QUEHUOFENXIMODEL } from '@/api/erp/collect_data_analysis'
export default {
  namespaced: true,
  actions: {
    // 查询库存商品信息
    async collect_data_analysis_select ({ dispatch }, data = {}) {
      const res = await ERP_COLLECTION_DATA_ANALYSIS(data)
      return res
    },
    // 查询商品流向信息
    async collect_data_analysis_directionqrue ({ dispatch }, data = {}) {
      const res = await ERP_COLLECTION_DATA_ANALYSIS_DIRECTIONQRUE(data)
      return res
    },
    // 查询商品流向信息
    async collect_data_analysis_updateprice ({ dispatch }, data = {}) {
      const res = await ERP_COLLECTION_DATA_ANALYSIS_UPDATEPRICE(data)
      return res
    },
    // 查询宿迁为民连锁库存商品信息
    async collect_data_analysis_suqianweimin_stock_select ({ dispatch }, data = {}) {
      const res = await ERP_COLLECTION_DATA_ANALYSIS_SUQIANWEIMIN_STOCK(data)
      return res
    },
    // 查询宿迁为民连锁已日结数据
    async collect_data_analysis_suqianweimin_yirijie_select ({ dispatch }, data = {}) {
      const res = await ERP_COLLECTION_DATA_ANALYSIS_SUQIANWEIMIN_YIRIJIE(data)
      return res
    },
    // 查询缺货分析模型-补足N天库存数据
    async collect_data_analysis_quehuofenximodel_select ({ dispatch }, data = {}) {
      const res = await ERP_COLLECTION_DATA_ANALYSIS_QUEHUOFENXIMODEL(data)
      return res
    }
  }
}
